﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp9
{
    class Dog : Animal, Iswmin, Iclimb
    {
        public Dog(string name) : base(name)
        {

        }
        public void climb()
        {
            Console.WriteLine("狗都能爬树你敢相信？");
        }

        public void swmin()
        {
            Console.WriteLine("狗刨式");
        }
    }
}
